package com.race.common.constant;

public enum ResponseEnums {
    SUCCESS(1,"SUCCESS"),
    FAILURE(0,"FAILURE"),

    SYSTEM_ERROR(2,"SYSTEM_ERROR"),
    EX_CLIENT_FORBIDDEN_CODE(40331,"客户端token异常"),
    ERROR_AUTHENTICATION(88, "身份认证失败"),
    EX_OTHER_CODE(500, "未知异常，无法描述");

    ResponseEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private  Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
